Error.stackTraceLimit = Infinity;

import boot from "server/boot"
import script from "./dist/logic.js";

async function server() {
    try {
        let context = await boot({
            port: 9999
        });
        await context.persistent.runScript(script);
    } catch (e) {
        console.log(e);
    }
}
server();